package com.sikaryofficial.dataindicator;

import com.sikaryofficial.common.security.annotation.EnableCustomConfig;
import com.sikaryofficial.common.security.annotation.EnableRyFeignClients;
import com.sikaryofficial.common.swagger.annotation.EnableCustomSwagger2;
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
@Slf4j
// 开启自动解密功能
@EnableEncryptableProperties
public class DataIndicatorApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataIndicatorApplication.class, args);
        log.info("DataIndicatorApplication start");
        log.info("http://localhost:30021/doc.html");
    }
}
